import requst from "../requst";

export default {
    //    新歌速递
    getNewSongApi: () => {
        return requst.get<any, any>('/top/song')
    },
    // 热门电台
    getHotDjApi: () => {
        return requst.get<any, any>('/dj/hot')
    },
    //全部新碟
    getNewAlbumApi: (area: string) => {
        return requst.get<any, any>(`/album/new?limit=12&area=${area}`)
    },
    // 获取电台详情
    getDjDetailApi: (rid: number) => {
        return requst.get<any, any>(`/dj/detail?rid=${rid}`)
    },
    // 获取电台节目
    getDjProgramApi: (rid: number) => {
        return requst.get<any, any>(`/dj/program?rid=${rid}&limit=50`)
    }
}